package com.tj.collection.db.admin.dao.mp;

import com.tj.collection.common.old.BaseMapper;
import com.tj.collection.db.admin.entity.AuthRoleMenuEntity;
import com.tj.collection.db.admin.entity.AuthRoleMenuEntityConditions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuthRoleMenuEntityMapper extends BaseMapper<AuthRoleMenuEntity, Long, AuthRoleMenuEntityConditions> {
    int countByExample(AuthRoleMenuEntityConditions example);

    int deleteByExample(AuthRoleMenuEntityConditions example);

    int deleteByPrimaryKey(Long id);

    int insert(AuthRoleMenuEntity record);

    int insertSelective(AuthRoleMenuEntity record);

    List<AuthRoleMenuEntity> selectByExample(AuthRoleMenuEntityConditions example);

    AuthRoleMenuEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AuthRoleMenuEntity record, @Param("example") AuthRoleMenuEntityConditions example);

    int updateByExample(@Param("record") AuthRoleMenuEntity record, @Param("example") AuthRoleMenuEntityConditions example);

    int updateByPrimaryKeySelective(AuthRoleMenuEntity record);

    int updateByPrimaryKey(AuthRoleMenuEntity record);
}